<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/IncludeTop.jsp" %>  
<html>
<head>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/moniterBodan.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<table width="100%" border="1">
		<tr>
			<th align="center" width="12%">
				联赛
			</th>
			<th align="center" width="8%">
				时间
			</th>
			<th align="center" width="22%">
				主客队伍
			</th>
			
			<th align="center" width="3%" >1:0</th>
			<th align="center" width="3%" >2:0</th>
			<th align="center" width="3%" >2:1</th>
			<th align="center" width="3%" >3:0</th>
			<th align="center" width="3%" >3:1</th>
			<th align="center" width="3%" >3:2</th>
			<th align="center" width="3%" >4:0</th>
			<th align="center" width="3%" >4:1</th>
			<th align="center" width="3%" >4:2</th>
			<th align="center" width="3%" >4:3</th>
			<th align="center" width="3%" >0:0</th>
			<th align="center" width="3%" >1:1</th>
			<th align="center" width="3%" >2:2</th>
			<th align="center" width="3%" >3:3</th>
			<th align="center" width="3%" >4:4</th>
			<th align="center" width="3%" >5up</th>
			<th align="center" width="10%" >操作</th>
		</tr>
		
		<c:forEach var="event" items="${events}" >
		<c:set var="map" value="${requestScope.counter[event.id]}" />
		<tr id="<c:out value="${event.comp.id}"/>" >
			<td align="center">
				<c:out value="${event.comp.league.name_zh}" />
			</td>
			<td align="center">
				<font size="-1"><fmt:formatDate value="${event.comp.time}" type="both" /></font>
			</td>
			<td>
				<table>
					<tr>
						<td>
							<font size="-1"><c:out value="${event.comp.home.name_zh}"></c:out>[主]</font>
						</td>
					</tr>
					<tr>
						<td>
							<font size="-1"><c:out value="${event.comp.road.name_zh}"></c:out></font>
						</td>
					</tr>
				</table>
				
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s10" value="<c:out value="${event.bodan.s10}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_10">
									<c:out value="${map['bd_10']}" />/<c:out value="${map['sbd_10']}"></c:out>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s01" value="<c:out value="${event.bodan.s01}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_01">
									<c:out value="${map['bd_01']}" />/<c:out value="${map['sbd_01']}"></c:out>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s20" value="<c:out value="${event.bodan.s20}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_20">
									<c:out value="${map['bd_20']}" />/<c:out value="${map['sbd_20']}"></c:out>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s02" value="<c:out value="${event.bodan.s02}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_02">
									<c:out value="${map['bd_02']}" />/<c:out value="${map['sbd_02']}"></c:out>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s21" value="<c:out value="${event.bodan.s21}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_21">
									<c:out value="${map['bd_21']}" />/<c:out value="${map['sbd_21']}"></c:out>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s12" value="<c:out value="${event.bodan.s12}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_12">
									<c:out value="${map['bd_12']}" />/<c:out value="${map['sbd_12']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s30" value="<c:out value="${event.bodan.s30}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_30">
									<c:out value="${map['bd_30']}" />/<c:out value="${map['sbd_30']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s03" value="<c:out value="${event.bodan.s03}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_03">
									<c:out value="${map['bd_03']}" />/<c:out value="${map['sbd_03']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s31" value="<c:out value="${event.bodan.s31}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_31">
									<c:out value="${map['bd_31']}" />/<c:out value="${map['sbd_31']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s13" value="<c:out value="${event.bodan.s13}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_13">
									<c:out value="${map['bd_13']}" />/<c:out value="${map['sbd_13']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s32" value="<c:out value="${event.bodan.s32}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_32">
									<c:out value="${map['bd_32']}" />/<c:out value="${map['sbd_32']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s23" value="<c:out value="${event.bodan.s23}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_23">
									<c:out value="${map['bd_23']}" />/<c:out value="${map['sbd_23']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s40" value="<c:out value="${event.bodan.s40}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_40">
									<c:out value="${map['bd_40']}" />/<c:out value="${map['sbd_40']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s04" value="<c:out value="${event.bodan.s04}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_04">
									<c:out value="${map['bd_04']}" />/<c:out value="${map['sbd_04']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s41" value="<c:out value="${event.bodan.s41}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_41">
									<c:out value="${map['bd_41']}" />/<c:out value="${map['sbd_41']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s14" value="<c:out value="${event.bodan.s14}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_14">
									<c:out value="${map['bd_14']}" />/<c:out value="${map['sbd_14']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s42" value="<c:out value="${event.bodan.s42}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_42">
									<c:out value="${map['bd_42']}" />/<c:out value="${map['sbd_42']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s24" value="<c:out value="${event.bodan.s24}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_24">
									<c:out value="${map['bd_24']}" />/<c:out value="${map['sbd_24']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
				
			</td>
			<td align="center">
				<table>
					<tr>
						<td>
							<input type="text" size="3" name="s43" value="<c:out value="${event.bodan.s43}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_43">
									<c:out value="${map['bd_43']}" />/<c:out value="${map['sbd_43']}"/>
								</a>
							</font>
						</td>
					</tr>
					<tr>
						<td>
							<input type="text" size="3" name="s34" value="<c:out value="${event.bodan.s34}"></c:out>" />
							<br/>
							<font color="red" size="-1">
								<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_34">
									<c:out value="${map['bd_34']}" />/<c:out value="${map['sbd_34']}"/>
								</a>
							</font>
						</td>
					</tr>
				</table>
			</td>
			<td align="center">
				<input type="text" size="3" name="s00" value="<c:out value="${event.bodan.s00}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_00">
						<c:out value="${map['bd_00']}" />/<c:out value="${map['sbd_00']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="text" size="3" name="s11" value="<c:out value="${event.bodan.s11}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_11">
						<c:out value="${map['bd_11']}" />/<c:out value="${map['sbd_11']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="text" size="3" name="s22" value="<c:out value="${event.bodan.s22}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_22">
						<c:out value="${map['bd_22']}" />/<c:out value="${map['sbd_22']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="text" size="3" name="s33" value="<c:out value="${event.bodan.s33}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_33">
						<c:out value="${map['bd_33']}" />/<c:out value="${map['sbd_33']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="text" size="3" name="s44" value="<c:out value="${event.bodan.s44}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_44">
						<c:out value="${map['bd_44']}" />/<c:out value="${map['sbd_44']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="text" size="3" name="sxx" value="<c:out value="${event.bodan.sxx}"></c:out>" />
				<br/>
				<font color="red" size="-1">
					<a href="mgr/listOrders.do?eventid=<c:out value="${event.id }"/>&oddType=bd_xx">
						<c:out value="${map['bd_xx']}" />/<c:out value="${map['sbd_xx']}"/>
					</a>
				</font>
			</td>
			<td align="center">
				<input type="button" value="提交" size="-1" name="submit" onclick="clickSubmit(this)"  />
			</td>
		</tr>
		</c:forEach>
	</table>
	<%@ include file="/WEB-INF/jsp/pager.jsp"%>
</body>
</html>